<div id="slider" style="width: 920px; height: 450px; overflow: hidden; ">
<ul> 
<?php
global $mytheme;
//query_posts('category_name='.$mytheme->option['featuredCat'].'&showposts='.$mytheme->option['featuredNum'].'');  
$ids = array();
while (have_posts()) : the_post();  
$ids[] = get_the_ID();
?>
<li>
	<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
		<h2 class="headline"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
        <div class="entry clearfix">
		<?php 
			global $mytheme;
			$image = get_post_meta($post->ID, $mytheme->option['imageThumb'], true); 
			?>
		<?php if ($image !="") : ?>
		<!----
		<a class="postImage" href="<?php the_permalink() ?>"><img src="<?php echo $image; ?>" alt="<?php the_title(); ?>" /></a>
		---->
		<?php endif; ?>
		<?php the_content_rss('', TRUE, '', 100); ?>
        </div>
        </div>
</li>
<?php endwhile; ?>
</ul>
</div>
<span id="prevBtn"><a href="javascript:void(0);">Previous</a></span> 
<span id="nextBtn"><a href="javascript:void(0);">Next</a></span>
<?php
	global $mytheme;
	if($mytheme->option['secAds']) : ?>
	<div class="secAds">
	<?php echo $mytheme->option['secAds'] ?>
	</div>
<?php endif ?>
